// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_SALES_CONTRACT_ITEM
// * CreateDate    : 2014-06-05 18:30:36
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:36
// * LastChanger   : 2014-06-05 18:30:36
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class SalesContractItemTable : TableInfo
    {
		public const string C_TableName = "SALES_CONTRACT_ITEM";
		
		public const string C_CONTRACT_ITEM_ID = "CONTRACT_ITEM_ID";
		public const string C_CONTRACT_ID = "CONTRACT_ID";
		public const string C_QUOTE_ITEM_ID = "QUOTE_ITEM_ID";
		
		public SalesContractItemTable()
        {
            _tableName = "SALES_CONTRACT_ITEM";
        }
		
		protected static SalesContractItemTable _current;
        public static SalesContractItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new SalesContractItemTable();

            _current.Add(C_CONTRACT_ITEM_ID, new ColumnInfo(C_CONTRACT_ITEM_ID,"ContractItemId", true, typeof(string)));
            _current.Add(C_CONTRACT_ID, new ColumnInfo(C_CONTRACT_ID,"ContractId", false, typeof(string)));
            _current.Add(C_QUOTE_ITEM_ID, new ColumnInfo(C_QUOTE_ITEM_ID,"QuoteItemId", false, typeof(string)));
			
		}
		
		public ColumnInfo CONTRACT_ITEM_ID
        {
            get { return this[C_CONTRACT_ITEM_ID]; }
        }
		
		public ColumnInfo CONTRACT_ID
        {
            get { return this[C_CONTRACT_ID]; }
        }
		
		public ColumnInfo QUOTE_ITEM_ID
        {
            get { return this[C_QUOTE_ITEM_ID]; }
        }
		
		
		
	}
}

